update swipe distance
add reverse animationg for first