refines touch-based momentum example