add better ipad detection for jquery-mobile-events