canvas resizes to window size