changed mobile navigation to allow for any amount of subcategories