My initial instinct is to suggest renumbering your array subscripts in the second photo slider. (i.e. change photos[0] to photos[7], etc)
You could also try changing the variable names in the second script from photo and text to photo2 and text2.
I would have to see the entire code and html to make any suggestions beyond that.