getting prevous and next link data from contento