adding option to disable fancybox