more work figuring out how to set the span class of the sidebar