add keyboard listeners for up down left right