added swipe capability