added swipe support for mobile