More work on UI.

Pretty much completed the touch css UI sub-library. Works properly now.

Also fixed important bugs with annotation drawing and CSS:
 - Can no longer resize past the dimensions of the parent
 - Can resize properly to the edges (jquery-ui resizable bug with border-box property)
   - Had to turn change `box-sizing` from `border-box` to `content-box` for box items and change offset values in jquery.drawabox.js
 - You can now create a new box that can go right up to the edges