histogram recalculates bins on zoom