making the rail top image work with the lightbox