handle state on workspaces
Merge branch 'master' of https://github.com/yakunkun/desksurfing

Conflicts:
	js/controller.js