add option to disable auto-resizing
bump version to 1.2