save pannel visibility in local storage