add hideTabBar() and showTabBar() for some view