Resize on container size change.