toggle css when collapse/expand the panel.