move dynamic nav elements build to header controller