corrected touch detection for Chrome