(function($) {
    $("body").ready(function() {
        $.each($(".scrollbanner"), function() {
            $(this).parent().css("height", $(this).parent().parent().height());
            if ($(this).parent().height() - $(this).offset().top - $(this).height() > 0) {
                $(this).css("top", $(this).offset().top);
                $(this).css("position", "absolute");
                $(this).scrollFollow({ speed: 500, offset: 30 });
            };
        });
    });
})(jQuery);