fix(views): show different text on widgetpanel toggle button when opened

fixes #4826
Can we use the html5 hidden attribute instead of the hidden class?