Remove isIpad from isMobile function