move info panel to ui lib