previous image cleaning up next image