jQuery(function() {
     var offset = jQuery("#single-share").offset();
     var topPadding = 65;
     jQuery(window).scroll(function() {
         if (jQuery(window).scrollTop() > offset.top) {
             jQuery("#single-share").stop().animate({
                 marginTop: jQuery(window).scrollTop() - offset.top + topPadding
             });
         } else {
             jQuery("#single-share").stop().animate({
                 marginTop: 0
             });
         };
     });
 });

