previous image putting them on next image