Improved tabbar to deal with many tabs