Added animation logic proper.