Playing with touch events, and writing jQuery plugins