added frameResize message hook