Remove panels from sidebar, which were added for blocks previously,
before adding panels for the currently activated blocks. Before this fix. panels were added everytime a block was activated but never removed.
Merge pull request #1088 from npomaroli/hotfix-block-sidebar

Remove panels from sidebar, which were added for blocks previously,