updating structure to have main and sub categories and display them in main sidebar, adjusting styling and hierarchy