Add active class to ancestors of the current sub-menu.

Not sure if this is right thing to do, but felt useful in my case.