Make sections in navbar conditional.