top: Math.min($(document).height(), Math.max(0, y - $draggedEl.height() / 2)),