Fixed gallery tabs to display as default. Issue #4408

Fixed Issue #4408 https://labs.riseup.net/code/issues/4408 I had to add the changes in Crabgrass#101 in order to working on that.