added swipe event