Add auto resize feature.
Add auto resize feature.