fix scrolling in message window

As requested here https://github.com/CleverRaven/Cataclysm-DDA/pull/7369#issue-32042767