make subnav look okay with themes without categories (bug 836665)