Fix up some scrolling issues with the arrow keys.