IE 7 fix for counter display