changed ref for history gallery images