fixing swipe issues