fixed toggle order bug
Merge pull request #28 from gMajr/bugfix/toggle

fixed toggle order bug