added key presses to change display modes