added masonry to gallery view