fix scrolling in message window

As requested here https://github.com/CleverRaven/Cataclysm-DDA/pull/7369#issue-32042767

Suggestion: what about moving the whole `msg_buffer` function into the Message class? And renaming it to something more obvious, like `disp_messages` or `disp_msg_buffer`?