Added prevnext to listdetail