created CustomTabNavigator to work around a Flex bug.