Add support for touch events

This was a pretty quick job.