Auto scroll layout

Hi,
I am making an application with vaadin. I use UriFragmentUtility for navigating between categories.
My layout has a vertical scroll bar, so I want when users click at the bottom components, the URI changes and my app will auto scroll to top of my page.
Can anyone tell me how to do it?
Thanks for reading

You may be looking for
that function