fix next/prev links