refactor mediaGallery to support multiple pages; bug 870982
Merge pull request #16 from ednapiranha/teach

refactor mediaGallery to support multiple pages; bug 870982