Fixed tap and swipe bug

I think