fixed active class attribute when clicking