Support adding previous and next buttons to the pager