Added prev and next buttons