let user select unit from url hash, fixes #280