fix touchend on swipe