keydown event handling, spacebar triggers play/pause