use more descriptive attribute name
also use sidebar subpages in active tab determination