Fix bug in chat history delivery. Make the chat window scroll on new messages