Fixed data-scroll-to not working under certain circumstances in IE and Firefox