Added support for fancybox