prevent a weird error which occurs due to jquery trying to attach a handler to onresize. at least i think that's what's happening.