cancel action when swipe to reverse direction