sets the navigation class for all pages