Resizable improvements

More to come in different branch. Changes will be too big attempt in
master