wait for images to be loaded before repositioning