Move image gallery titles to captions