make toggle button work on edX