diff --git a/modules/oauth/templates/registry.edit.twig b/modules/oauth/templates/registry.edit.twig
index 7383dacb6944fcd206ca6d93b9bdfdd6afdadb1b..baa44d4f966634fc952e48ad96ad3b1aa21ee30e 100644
--- a/modules/oauth/templates/registry.edit.twig
+++ b/modules/oauth/templates/registry.edit.twig
@@ -9,6 +9,12 @@
 <script type="text/javascript">
     $(document).ready(function() {
 	$("#tabdiv").tabs();
+        $('ul.tabset_tabs li').click(
+            function() {
+                $("html, body").animate({ scrollTop: 0 }, "slow");
+            }
+        )
+
     });
 </script>
 {% endblock %}