improve css for gallery