linked previous and next slide buttons