Update the scroll on window resize