Small typo fix in docs    resizeTo --> sizeTo

I spotted two typos while reading the docs.