Add active class to most recently clicked links