I’v got the same problem.
Tried to reinit modula galeries on tabs change by this code
<script>
jQuery('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
var t = jQuery(".modula.modula-gallery");
jQuery.each(t, function() {
var t = jQuery(this).attr("id")
, i = jQuery(this).data("config");
jQuery("#" + t).modulaGallery(i)
})
})
</script>
It does not work. Could you please help me?