fixes the nav on custom post type pages