As discovered in taxonomy_display., we are overwriting the page callback of the taxonomy term, which conflicts with
taxonomy_display provides a configuration page to call our own function on galleries vocabulary.
The attached patch integrates media_gallery with taxonomy_display.
If taxonomy_display with this patch is uses, it reopens the recently fixed bug
I have opened a bug report at the taxonomy_display issue queue: