Added directionality to the swing detection. onMovement now
takes a callback that takes an input variable. That input
variable resolves to the "leftToRight" or "rightToLeft"
direction of the swing.

Known issues: if you have basically any back swing at all,
we detect the swing early and therefore get the direction
of your back swing, not the direction of your forward
swing.