. if (location.search.indexOf('theme_template_id=') !== -1) { var _origAnimate = jQuery.fn.animate; jQuery.fn.animate = function(props) { if (props && typeof props.scrollTop !== 'undefined') { var el = this[0]; if (el === document.documentElement || el === document.body) { return this; } } return _origAnimate.apply(this, arguments); }; setTimeout(function() { jQuery.fn.animate = _origAnimate; }, 500); }