added nextpage/prevpage