keep prev and next buttons