Adding scroll-when-dragging support like jQuery UI draggable.