swipe controls implemented