On the role of attentional inhibition and memory during visual search