Added jquery framework for swipe events