Compatible XF 2.x versions
2.0
2.1
2.2.X
According to the XenForo default property, when you click on a topic
a-) if there is an unread message, it goes to the last unread message
b -) if the unread message is missing, it also goes to the first message of the topic.
Especially 2. the part...