Swipe views functionality done