Vid 1976

Refactoring the new media galleries so they are rendered client side. This handles issues surrounding lazy loading. 
My worry is that we're potentially keeping around a lot of objects in memory that we don't need.  Large Rachel Berry style pages come to mind.  If there's a good reason to keep this though, I'd recommend renaming it; having `galleries` and `$galleries` as two different variables is confusing.