added docs for event handling and scrolling