Distance for dragging

Added distance to prevent users from unintended dragging of rows.