use factory hooks for customizing the tab bar and tabs