Use location hash for permalinking to state

Requires data-choice-id attributes set on HTML choices tags

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>