adding the loader as a placeholder for images that are about to load & fixing z-index issues on fancybox