sws_thumbs: immediately flush previous gallery