Resizes onResize Event