rebuild CWizCategoryView and clean up code