Fix enum type on animateWithDuration call

This was using a UIViewAnimationCurve but I'm pretty sure it should be a UIViewAnimationOptions enum.