updated gallery refactor to include minor changes from review
Merge pull request #300 from seanworkcode/feature/gallery-use-example-index

refactored gallery to load index files
updated with changes from gh-pages-dev