Select mode fixed

Pinch no longer inverted
Merge branch 'refactor' of https://github.com/Zephoku/Whiteboard into refactor

Conflicts:
	www/js/whiteboard.js