Make scrolling for keyboard smarter