Are you talking about this line?:
$('body,html').animate({scrollTop: top-topDistance}, animateTimer);<br />
TBH I'm not quite sure how it could be fixed due to some oddness in WordPress.
Are you talking about this line?:
$('body, html'). animate( {scrollTop: top-topDistance}, animateTimer);<br />
TBH I'm not quite sure how it could be fixed due to some oddness in WordPress.