[#74499710] Panel not collapsing when embedding designer.

Moved `hide-display`class to a different scope, so it will work when the designer is embedded...

[Fixes #74499710]
OMG! Check the line above! It says `"angular-mocks": "1.2.16"`. We have to add `~` to it and problem solved. How could we miss it :)