title: How to scroll to top every time Page is displayed
body: <p>In my UI5 application, if I scroll to bottom of one page and then move to another page, and then again come back to the previous page, the view is at the bottom of the page. That is, the last scroll position of that page is preserved and I have to scroll up again to see the top part. I want to display the page from top every time I visit it.</p>
  <p>Any suggestions?</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;Page id=&quot;page&quot; showHeader=&quot;false&quot;&gt;
    &lt;VBox height=&quot;2000px&quot;&gt;
      &lt;core:Fragment fragmentName=&quot;ABC&quot; type=&quot;XML&quot; /&gt;
      &lt;core:Fragment fragmentName=&quot;PQR&quot; type=&quot;XML&quot; /&gt;
    &lt;/VBox&gt;
  &lt;/Page&gt;
  </code></pre>
  <pre class="lang-js prettyprint-override"><code>return BaseController.extend(&quot;....somePage&quot;, {
    onInit: function() {
      // .....
    },
    _onObjectMatched: function(oEvent) {
      this.getView().byId(&quot;page&quot;).scrollTo(0); // even this is not working
      window.scrollTo(0,0); // did not work
    },
    // ...
  });
  </code></pre>