Fix issue #34

add code to unbind the 'resize' event. if not unbind, the window would
bind the event twice  when we back to the view which contains the
angles, and then the browser become unresponsive
Merge pull request #35 from designershao/master

Fix issue #34