Made category rows in settings render recursively based on categories so that they track depth and display in the same order as on the home page