animate objects on path