adding swipe
added mobile support for swipe