add resizing method and documentation to the intro tutorial