only prevent default behavior of space and arrow left/right