Use the `visiblity' parameter to determine the initial state of