add hidesWhenStopped property.