add tabbar show and hide method