Add css class 'loaded' to slide when image is loaded