Revised index.html
Added styles.css
Cleaned some code. Fixed bug where Lines could not be reselected after inversion resize
Fixed the triangle selection area bug
Fixed selection border on triangle
Fixed triangle resize bug for 1st sel handle