sync show/hide