automatically resize viewport with window
center terminal in the middle of the browser