animate now returns a function for nicer calling code.