added swipe to slide
added swipe to slide