Added motions for mouse.