Added swipe-events before other scripts