use o.resizeKey instead of manually specifying event to be unbound from the window object
fix bug in detecting how many child does the breadcrumb has