Only scroll for vertical room in the direction of cursor movement