animation now based on swipe direction