starting mouse dragging functionality
fixed conflicts