Set containment to the container and distance to 30
jQuery UI Sortable - Default functionality
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Enable a group of DOM elements to be sortable. Click on and drag an
element to a new spot within the list, and the other items will adjust to
fit. By default, sortable items share draggable properties.