adds orbit control, on-change and on-winow resize event handlers