add spring animation for iOS7 or greater.
add useSpringAnimation property to toggle the spring animation.