Implemented swipe controls