added basic swipe code