Only update the size on the first image load - assuming all images in the carousel are the same size, this should be fine