list items correspond to categories and specific pages, now output as intended, no more array