control redraw implementation