Hide tooltips on touch devices.

This is done by checking the device max-width is no more than 768 pixels, which works for iPad/iPhone but may fail for other devices.