accommodate custom navbars [#78270152]