show/hide list icon depending on state.