scrollToBottom
When the user clicks the scroll to bottom button we need to take the user to the bottom of the newest messages. If the messages are not loaded we need to load them first and then scroll to the bottom of the list.
Parameters
messageLimit
The size of the message list page to load.
scrollToBottom
Handler that notifies when the message has been loaded.