Setting 'active' class on preview element that corresponds with the active form element (open accordion).