implement #172 to rescale y axis dynamically when focused