consolidate some parts of the navbar