Resizing windows works

Signed-off-by: Alexander Kluth <kluth@freshcells.de>