Added resize option to preview container