Added jquery ui and fixed swipe ajax