now using "requestAnimationFrame" for drag event