Test for touch devices instead of user agent sniffing