added fancybox options to ensure box dimensions