fix right, left arrow buttons