Number Of Pages In The Lord Of The Rings

When the user lifts a finger off the surface, a touchend event is sent. We handle this by calling the handleEnd() function below. Its job is to draw the last line segment for each touch that ended and remove the touchpoint from the ongoing touch list.