User:Tmv/custom/toc fixed.js

var _window = $(window), _toc = $('.epb-topbanner-toc'), bannerBottom; _window.on('scroll',function{   bannerBottom = $('.epb-banner-image-panorama > .image').height;    if (_window.scrollTop > bannerBottom) {        _toc.addClass('stickynav');       } else {        _toc.removeClass('stickynav');    } });