turn off preview jquery for mobile devices