fix border color animation