Fixing multi swipe bug