up: open/close panels using groups.