added touch swipe support