auto generate main nav items