added swipe gesture