integrating magnific.js to the mix