added rudimentary support for keyboard input, just arrow keys for now