main character sprite responding to keyboard input