fixing the left and right arrows