Improved min/max range for y-axis