Expand/Collapse project folders on double-click

Fixes bug #11974