Added recursivePartial helper, and used to to build the ui for the available categories