added trackball controls