Added div-dragging functionality [Can scroll horizontally too]