add relative mouse start pos to dom elements