getting closer to dynamically resizing captions