The message list scrolls from bottom to top by default, the latest message appears at the bottom of the page.
Add an input to the message list to reverse the order: the latest message is on the top of the page, and scrolling works top to bottom direction.