prevent app from loading all images at once