Squarespace Custom Query Seamless Marquee

This code was adapated from https://codepen.io/bitgrip-thomas/pen/mdZbgXN.