Added initial animation code.