if(window.location.hash) {
var offsetSize = 185; //Offset incase of sticky nav - set to 0 if no sticky nav
jQuery("html, body").animate({scrollTop:jQuery(window.location.hash).offset().top-offsetSize }, 1000);
}
if(window.location.hash) {
var offsetSize = 185; //Offset incase of sticky nav - set to 0 if no sticky nav
jQuery("html, body").animate({scrollTop:jQuery(window.location.hash).offset().top-offsetSize }, 1000);
}