Adjusted the logic to scale the y axis
Adjusted the logic to scale the y axis