work on keystrokes to change the displayed line