adding active class to pages