add prev and next div