Changed event names, tweaking the window resize and move event.