fix for fancybox in album
Fixing performance issues with fancybox
bug fix