I want a custom tab bar only on some screens in a tab navigation without creating a nested navigation. I need to know the index of the focused screen so that I can tell my custom tab bar (which is outside navigator) when to pop up. The index should be from the initial rendering of screens and not from the list of navigated ones.