Vid 1976

Refactoring the new media galleries so they are rendered client side. This handles issues surrounding lazy loading. 
`$itemCount` might be a good thing to make a property of this class.  Our galleries behave differently depending on how many items there are, so this count is a key attribute of this model.