animate close / open icon