adding vertical resize option

Maybe rephrase to “should only resize vertical if...”