added histogram, fixed scrolling