Call offsetWidth on new and old page containers