#1012 Events: Add resize and scroll events.