Slide index now updating when clicking markers.