added swipe extension