Fixes gallery display issue.
Merge pull request #317 from DoSomething/gallery-fix

Fixes gallery display issue.