test for touchdevice