Resized ui to fit window and add three js.