Other not so elegant way of detecting touch screen devices

But at least it seems to work