Responsive Gallery Lightbox Bug fix