add API topPanel and BottomPannel