Getting rid of the double border when collapsed

The way to do it is to change the border color to match the background-color
of the frame-header when collapsed. The border gets its color back when expanded.
new build