Adding support for touch events.