Wayfinder optimization

Do not load all children resources if hideSubMenus is enabled.

Original source of this optimization is lost in Jira tickets. (can't find it in forum too)