Fixes global page class on main index page