write nav menu