Auto-resize support

auto resizing when window size changing.
readme