Added class for controlling the images loaded