app events -- resizing and mouse events