only enable masonry when there's more than 5 images