adjust tab bar of the index page