touch detection

adds touch detection to pause it.