Add swipe event

Add swipe detection