improving javascript, styles and html structure for categories, interests and activity tabs