gestures class working with swipeloop