issue #1008 fancybox repeating the first image