Pop back 2 pages

What is the best way to navigate backwards two pages or N pages. I have used the remove method and then pop, but I would prefer to transition directly to the Nth page back and not momentarily see the views iterate backwards.

Try the code below:


But I guess in your case, maybe you have to set another index.