updated readme
Updated the resize function to only redraw when an actual resize is triggered.