Fancybox reimplemented