added basic swipe input and button controls