If you scroll through the file using the up/down arrow keys, the cursor remains in the line it occupies and the entire screen is scrolled.
The correct behavior is that the cursor moves through the entire visible area of the editor and only scrolls the contents of the visible area when it reaches the edge.