Fix touchend event conflict on mobile