added support for touch interface devices.