keep a dirty resize flag to reduce tab layouts

When there are several tab bars in a vertical splitter, the tab bars do
not need to update since their width is not changing. This adds a flag
so that the tab bar lays out only when its width has changed.