added cacheing of images to ImageViewController