detect intent in touch