Added pageup/pagedown scrolling.

Do not switch lines when moving cursor vertically.