Fixes #117

1. Now paragraph collapsing works correctly when same category shown at once (ex: I301010)
2. Now the automatic hiding of expanded paragraphs shows short summary text back.