fix a timing to call showPanelView