Using CustomTabNavigator and CustomViewStack to prevent UI bugs.