Dynamics of Active Sensing and perceptual selection