removes panel collapsing