changes spheres window resize to not alter animation