Hide (collapse) the tab bar when the floating tab bar is going to be updated.

By this change, the size of the shrunken tab bar will saved and restored correctly. (#575)