MessageHandler implemented for scrolling