swipe animation implemented