Hide the up link in the book navigation if it points to a forward page (see #5374)