be able to show/hide when visible changes