Remove onResize code from remaining pages