added CSS and made sure to remove all classes when destroyed