Draft: Refactor Media Gallery
Summary
Tailwindify the MediaGallery component. Break it up into smaller pieces and control its style by passing in props.
ALSO, fixes a bug where the aspect ratio wasn't being taken into account for laying out media in the gallery.