Preload the next image in gallery