added more code from the start of the chapter, plus a terrific little utility for finite repetition of a view animation
rearrange cases and make deployment target iOS 7, so you can test changed behavior easily
remove nonfunctional options