fixed mobile swipe bug