add next/previous links