use body for resize event