trying canvas resize on layout chaneg