Added switch to change coordiante calculations. Ported from CAAnimation to UIView animation