rewrote histograms to be movable