Started to implement resizing.
Finished resizing.