create and script nav menu