fix css for expanded mode