Practicing mindfulness when your mind is wandering can help you regain attention, researchers report.