refine the style of navigation bars