Fixed swipe bug.