removed spin.getPanelState from public api