changing canvas size to 100%