added classes when initiated and when toggle is active