added bounds checking when dragging a description