keep handle span (in pixel) and be sure that the interval is always correct (left <= right)
code cleanup: as "new selection" is called from multiple places, put it in a function
clear handles from div before drawing them (to prevent redrawing them multiple times)
add (preliminary) animation controls