replaced touchend -> click event