added prev and next button to slider