removed the validation on orientation from Animation.perform function.