changing view of images on index page