when adding new message, move the chat window to the latest msg