how to limit the draggable width of a