clean rightpanel collapse