Update main js file. Added indx to track .each() iteration for multiple sliders on one page

Added fix to allow multiple sliders per page without the next/prev buttons having the same ID as other sliders instances on that page.

Sliders beyond the first one will now have working next/prev buttons.