Detect Touch Screens?

Detect Touch Screens?

Is there a way to use jquery to detect any device with a touch screen?

Im using the jscrollpane but the handles drag in the wrong direction on touch screens like the ipad (in my opinion). As you can drag the main content (which works in the correct way), I want to hide the scroll bars if the device is a touch screen.

Thanks