fixed fancybox display issue