Added resize functionality and updated the readme