Only load 5 images at a time, to improve performance.