Switching tabs on click, adding 'active' classes to 'title' and 'content' tag