Implemented vertical-only scaling.