fixing swipe