added swipe controls and buttons for input