fix the expanding collapsing of the charts so that the embedded one fills up the screen