added prev, next button, and slide dots.