make navigation menu dynamic