canvas now resizes on window resize