auto generate side nav bar