updates to how the lightbox finds screen center to display the image