Implement fit-to-window-directive for photos and video and update background-cover to do vertical centering
Properly show captions for background, photos, and videos, filter linebreaks, and handle long captions