Add event listener for autogrow resize