(function($) {
var lastScrollTop=0;
var navigation = $("#headerBlog");
if(navigation){
$(window).scroll(function(event){
var st = $(this).scrollTop();
if (st > lastScrollTop){
navigation.css("top", "-100px");
} else {
navigation.css("top", "0");
}
lastScrollTop = st;
});
}
})(jQuery);