Now canvas resizes according to window size