fixed the vh and z index bugs for iOS