fixing problems with fancybox