fix the fancybox display