added basic swipe support