added swipe gesture on button