finishing fancybox implementation