Fix scrolling of pageup/pagedown, make them move a little less than a screen

Closes #1290