Changed message box to be able to know if the player scrolled to top; will be used in the future to load previous messages.