fixes window resize nuking scrolling