Added an example about relayout and repainting.