Added resize to handle scenarios where new resource viewer is added to the tab container.