Enforcing only vertical resize