Resizing the dock layout on drag.