Sounds like a typical IE rendering failure. One thing that might give it a nudge and get it working is to use
Code:
// assume reference to your toggley thing is in variable "thing"
// as for example would be the result of
// var thing = document.getElementById("toggley_thing");
thing.className = thing.className;
or, if that doesn't work, try
Code:
thing.parentNode.className = thing.parentNode.className;
Sometimes IE seems to mess up calculating which bits of the document need repainting. Luckily, the developers never optimised for the case of a className assignment resulting in no change from the previous value, and as a changing className could cause all kinds of layout changes, IE proceeds to recalculate and repaint the element and its descendants, and anything else that's affected as a result.
It ought to do this for the visibility change anyway, but obviously it isn't in this case, so this just nudges it to have another try.
Also, sometimes it just gets it wrong again, but gets it right if the redraw starts at the parent of the problem object, or maybe at some containing element further up the tree; but start as far in as you can and only work out if you have to, as it has a deleterious effect on performance generally.
(Performance considerations might not seem so important nowadays, but as your stuff is for the educational market it's worth bearing in mind that schools and such often have rather crappy old machines that were built to cheap specs in the first place, so anything that helps avoid the risk of flickering redraws is a Good Thing.)