Add some more state storage. Can now drag the range. Bug squashing.