keeps dimensions relative on resize when dim locked