added patch for collection display and fancybox