added gestures and buttons