navbar made dynamic