virtualList.scrollToItem(index) does not appear to work when list is on the previous page in the DOM

I’m trying to scroll to a specific list index on a virtual list based on some user input.
In this case, the virtual list is created but exists as the previous-page in the DOM.

When calling virtualList.scrollToItem(4); and then going back to the page using the back button the list position has not changed.

Is there a way to get this to work?

it is because View/Router has restoreScrollTopOnBack parameter which is enabled by default View / Router | Framework7 Documentation