Gallery with flexbox output