Cortical control of sensory-motor integration