Use click or touchstart but not both

This prevent that possible device that detect `touchstart` and `click` event will trigger this event callback twice.