fix(css) make resizing smooth