Make smoother swipe animation