Slide changes to left and right directions