adding vertical resize option

Should probably assert the height as well here