Update tab size on window resize