Create tap event for mobile devices, use touch events or mouse