Fix a bug that the slider stops responding to swipe after a touch