remove loader when image is loaded