adds border styling to the image-container element