adds resizing docks