Add a new version of the handler for touch events.