calculated exact widths for spacer divs on either side of the card carousel
this ensures that the first and last cards in the sequence can scroll to the center of the page, rather than be stuck to the edges of the scroll container
i also installed react-use-measure to acheive this