Fix issue #34

add code to unbind the 'resize' event. if not unbind, the window would be
binded the event twice  when we back to the view which contains the
angles, and then the browser become unresponsive