(function () {

if (!isMobile) {
    $('#person-section-tabs a').click(function () {
        var href = $(this).attr('href');
        gotoTab(href);
        return false;
    });

    $('#spec-container').scrollspy({
            'data-spy': 'scroll',
            'data-target': '#person-section-tabs',
            'offset': 100
        })
        .on('activate.changehash', function () {
            var target = $('#person-section-tabs li.active a').attr('href');
            selectTab(target);
        });

    function gotoTab(target) {
        selectTab(target);

        var $elem = $(target);
        $('#spec-container').animate({
            scrollTop: $elem.position().top
        }, 300);
    }

    function selectTab(target) {
        var $list = $('#person-section-tabs li');
        $list.removeClass('active');
        $list.children('[href="'+target+'"]').parent('li').addClass('active');

        if (location.hash != target) {
            if (history.pushState) {
                history.pushState({}, null, target);
            } else {
                location.hash = target;
            }
        }
    }
}

}());

@@ -9,16 +9,60 @@
 n () %7B%0A%0A
+var $specContainer = $('#spec-container');%0A%0A
 if (!isM
@@ -222,33 +222,29 @@
 ;%0A%0A    $
-('#
 spec
--c
+C
 ontainer
 ').scrol
@@ -235,18 +235,16 @@
 ontainer
-')
 .scrolls
@@ -622,32 +622,33 @@
 em = $(target);%0A
+%0A
         $('#spec
@@ -640,33 +640,29 @@
        $
-('#
 spec
--c
+C
 ontainer
 ').anima
@@ -653,18 +653,16 @@
 ontainer
-')
 .animate
@@ -686,16 +686,45 @@
 rollTop:
+ $specContainer.scrollTop() +
  $elem.p

Fix scroll bug in person page