refactor leftpaneView