fix css for gallery preview