copy header_text functionality to support a service-bar with custom text in header