Fixing Swipe Bug for mobile