Added an option to start loading images before they enter the viewport.