this effort was borne out of the need for a create an image gallery with no JS libraries