added open/close of overlay legends...