I have somewhat of the same issue. You can see an example of the tab not staying active by going to kornerstoneent.com and clicking Korner on the main menu.
Next click on Kornerstone Members menu link and search for Jermaine. He has a couple of pages of pics.
When you click on the next page in the gallery, the gallery tab doesn't stay active. I don't mind hacking this but I'm not that good at javascript.