adding active class to clicked link and changes to design