dynamic content size change event handler