Fix touch event on mobile devices