finally fixed the goddamn magnific.js lightbox gallery