added masonry to image galleries