Greetings! I seem to be facing a minor issue with jQuery. When the function is executed for the first time, it doesn't appear to acknowledge the -60 px for my sticky header. However, after that initial run, everything works perfectly fine. I'm stumped as to what could be causing this glitch.
Feel free to test it out yourself by visiting this link:
$("#link_to_services").click(function() {
$('html, body').animate({
scrollTop: $("#services").offset().top - 60
}, 2000);
});