diff --git a/web/app/static/js/modules/corpus_analysis/view/scrollToTop.js b/web/app/static/js/modules/corpus_analysis/view/scrollToTop.js
index 689ea13acf64316d27e43c8299dfa9b213ee9df1..835ab8a06a755ab0010d498cd123af08a1392933 100644
--- a/web/app/static/js/modules/corpus_analysis/view/scrollToTop.js
+++ b/web/app/static/js/modules/corpus_analysis/view/scrollToTop.js
@@ -15,7 +15,7 @@ function scrollToTop(scrollToElementSelector, triggerElementSelector) {
   scrolltoTopTrigger.onclick = () => {
     scrollToThis.scrollIntoView({
       behavior: 'smooth',
-      block: 'end',
+      block: 'start',
       inline: 'nearest'
     });
   };
diff --git a/web/app/templates/corpora/analyse_corpus.html.j2 b/web/app/templates/corpora/analyse_corpus.html.j2
index e9ca926f117805e31f645e45275943ca81d2f5db..29dba027dc65b3a834cb15a5e742958a48fc1896 100644
--- a/web/app/templates/corpora/analyse_corpus.html.j2
+++ b/web/app/templates/corpora/analyse_corpus.html.j2
@@ -339,7 +339,7 @@ document.addEventListener("DOMContentLoaded", () => {
     client.query(results.data.query);
   });
   // Enable scroll to Top functionality.
-  scrollToTop('#headline', '#menu-scroll-to-top-div');
+  scrollToTop('header', '#menu-scroll-to-top-div');
 });
 </script>
 {% endblock %}