panning and selectable graph width mostly working on Single lead.
Needs more tweeking and testing.