$(function(){

if ($("#toc").length) {
    $("#toc").tocify({
        showAndHideOnScroll: false
    });
}

});