adapt caption size