remove onresize listener that was causing errors and not doing anything