Added arcball rotation functionality