revert the fancybox changes