Fixed the swipe animation.