commented canvas resize, still working