more correct name for toggle
classes for pins added and other fixes