Set the right initial legend state
Merge pull request #659 from camptocamp/legend-open

Set the right initial legend state