Added animation control buttons and fixed some animation issues.