Add active class to tabs list items when page is displayed.