Using tagsFromURL as page title or header

I have created a gallery that uses mgGetTags to list all tags and a count of images in each. And of course when a tags is clicked it shows only images with that tag… It works great. I would really like to modify the page title of just a section header to read “[[+tags]] Gallery” instead of just “Gallery”. I am able to get the tags to show in the tpl, but not the wrapperTpl. Is there someway to show this?