Added Pointer event support. Got rid of the old MotionManager