Making navbar dynamic