Added lazy loading to the gallery