left and right arrows working