[SCRIPT]-JQUERY POSITION DIV FIXED ON SCROLL
JQUERY POSITION DIV FIXED ON SCROLL
The JS should look like this:
var distance = $('#navigation-sections').offset().top;
$(window).scroll(function () {
if ($(window).scrollTop() >= distance) {
$('#navigation-sections').addClass("affix");
} else {
$('#navigation-sections').removeClass("affix");
}
});