trying to detect click and tap