$(function() {
           
           var offset = $(".fixed-scroller").offset();
           try{
               var topPadding = parseInt($(".fixed-scroller").css('marginTop').replace('px', ''));
           } catch(e){
               var topPadding = 0
           }
           
           $(window).scroll(function() {
                try{
                    if ($(window).scrollTop() > offset.top - topPadding) {
                           $(".fixed-scroller").css('margin-top', $(window).scrollTop() - offset.top + topPadding);
                       } else {
                           $(".fixed-scroller").css('margin-top', topPadding);
                       };
                }catch(e){}
               
           });
       });
