Loop through sidebar images.