adding fancybox and updating titles