replace prev/next buttons if already there