add swipe animation