Added touchend event to make action smoother on mobile/tablets and to avoid touch-as-click weirdness