fixed subcategory controller and view

still not ready for release yet!!!