Adds class active to active panels, and always activates a panel on initialisation.