Revert "Revert "Update to galleria 1.3.6""

This reverts commit 2bf2e687d4616cd945451702bd12ee3fd4e92755.
Revert "Revert "Revert "Update to galleria 1.3.6"""

This reverts commit 5bf4fe6451da7d3f195cbf3a82e0902a77b254f2.