Can the first and last pages in next and prev be targeted?

Great. It’s a bit of brain-bender due to the next/prev reversal, but that’s a problem for another day.