changed the way the dynNav links are genereated