VID-1907 Logic to display the new galleries

Rather than wrap the following 367 lines of code in a giant `else` block, we return early so we don't force readers to scan all the way down only to find nothing happens.  The following lines of this diff therefore are all just tab changes.