optimized nav bar, needs merging