set canvas autogrow