added the weird viewport thingie for apple ithings