title: how to tell if an input range element is increasing or decreasing while dragging
body: <p>So I have some <code>&lt;input type="range"&gt;</code> elements that I need to know if the value is increasing or decreasing while the user is dragging the range slider. So far all I've been able to find/implement are things that use when a user first touches or releases the slider and compare the current changing value to that last number, but that won't work because it can't compensate for when the user is still dragging.</p>
  
  <p>Is there a way to achieve this using just JS math?</p>