Added control of movement with a mouse