Various improvements

* changed the line width to 1.
* added support for full-screen mode in iPad (chrome works at least).
* positioned the buttons closer to the window borders.
* added the "browse" button for "browsing mode".
* added the "undo" button for undo the last stroke.
* added back the mouse event support for PC browsers.
fixed the Undo button.