The evolution of attention