fixed swipe animation