Implemented scrolling and limited the amount of messages returned