Convert to magnific from fancybox