Jquery after footer breaks fancybox