Improved the dragging of dialogs.
History items are prepended correctly. Closes #54
Merge remote-tracking branch 'refs/remotes/origin/master' into ui-animations

Conflicts:
	frontend/public/js/hanasu/hanasu.js
	frontend/public/js/hanasu/hanasu.ts