added ability to append custom class to toggle