Added support for an additional 2 levels of depth for side-bar.