bind arrow keys to action