Added key event handling to image-view-example