Transition on left and right swipes