added "active" class to top-level cats when in sub-cat