attach some events to trigger redraw
export seperate images