Added resize feature