shuffling around images for correct slideshows, and out of galleries in pages