Pull request rebecca

You are using this animate and then setTimeout technique multiple times when you should just set the complete callback.