add onresize calll on autogrow object