Fix scrolling issues with custom data-scroll-to