responsive design for caption