$(function(){
    // http://stackoverflow.com/questions/12131273/twitter-bootstrap-tabs-url-doesnt-change#answer-12138756
    // todo: consider adding this to hq.helpers
    var hash = window.location.hash;
    hash && $('ul.nav a[href="' + hash + '"]').tab('show');

    $('.nav-tabs a[data-toggle="hash-tab"]').click(function (e) {
        e.preventDefault();
        $(this).tab('show');
        var scrollmem = $('body').scrollTop();
        window.location.hash = this.hash;
        $('html,body').scrollTop(scrollmem);
    });
});

@@ -525,13 +525,163 @@
 %0A    %7D);
+%0A%0A    $('.nav-tabs a%5Bdata-toggle=%22tab%22%5D').on('shown.bs.tab', function (e) %7B%0A        console.log('shown');%0A        $(window).trigger('resize');%0A    %7D);
 %0A%7D);%0A

add support for bootstrap 3