Rooted the css to prevent errors when moving into subcategories