editor: per-pixel horizontal scrolling

This feels a bit nicer.
editor: separate between logical and physical coordinates