Extension to the jQuery UI Resizable plugin for snapping while resizing.