remove rightpane