fix headerbar to center and max width