handled swipe bug