Resize

Resize functionality added.