added swipe-up recognition