added show/hide tabbar method