fix a css bug with gallery icons