adding tabbar mode