add previous and next navigation