Added possibility to provide only one class and it will be toggled automatically.