changes made in markers.js for slideshow