Vid 1976

Refactoring the new media galleries so they are rendered client side. This handles issues surrounding lazy loading. 
Is this 'original visible count' ?  Could it be expanded a hair to be 'origVisibleCount'?  I was thrown for a bit on line 171 where I managed to miss the leading 'o' on these very similar member names.