Added lazyloading of photos in gallery