fix order of thumbnail / caption