add auto redraw on screen resize
whitespace fix