switched UIViewAnimationCurveLinear to UIViewAnimationOptionCurveLinear