fix bug while toggling the completed state of a todo: animate function not needed anymore anyway