fixed bug with vertex indexing
added to camera two modes - passive motion and dragging