making resizable width relative