Verifique se Touch Device

//Check Mobile Devices
var checkMobile = function(){

//Check Device
var isTouch = ('ontouchstart' in document.documentElement);

//Check Device //All Touch Devices
if ( isTouch ) {

$
('html').addClass('touch');

}
else {

$
('html').addClass('no-touch');

};

};

//Execute Check
checkMobile
();