added a class to switch between components