updates to navbar for more flexibility