Swipe correction