Width resize working.
Some changes, but heigth resize doesn't work yet.
Merge conflict