Use timeout to force window resize