basic functionality for sub-nav inview