History and context-dependent modulation of rodent sensory processing