I agree that both work, but I prefer "to" in this case. It's not a technical difference, but I think it's an idiomatic one. I can see the red arrows in close proximity to the pages.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.