update with fix for iphone / ipad viewport issues
checks if ios device