Page width change and image loading