improve add and remove class has now a if class exists and remove all classes with this name