redraw window on expose events
keep the same center when resizing