fiddling with JS lightbox stuff

it’s not quite working how I want it to though.