simplify some conditional checking
refactor yAxisMax calculation and cache stacked layers
refactor y axis max algorithm
tune y axis min algorithm
implement #172 to rescale y axis dynamically when focused