Fix up the swipe events