rename hide to collapse, closes #567