worked out  svg animations for the open-close