timer and arrows press handling