adding next / prev to page templates