update gallery class, ing size fix for results