add next & prev links