Sorted jQuery issue for all slideshow pages