Resize side panel tabs on panel switch (related to issue 6534)

https://code.google.com/p/fbug/issues/detail?id=6534