resizes after 1 second of scaling the image