only add mouse or touch event (prevent double clicking on iOS)