React component for creating an evenly spaced gallery of children components