Use enum form this._springState

It's probably nicer to use the enum values everywhere. Even if `SpringState.NONE === 0` anyway.
Moved definitions before constructor so you can read it from top to bottom.