refine swipe animation