Reset swipeDIrection to 0 after the next or previous call