back_and_forth: hide link if the next/prev file is not exists