It took me hours of wasted coding to realize I should throw out all this math and just use UIScrollView.

Manton Reece @manton