fix css for gallery