jQuery plugin used to measure distance traveled by cursor