a curtain is for opening and closing