added prev/next buttons