Added basic support for touch events.