Please read Forum Rules regarding the use of Code Tags (Rule#3) when posting code.
Please change your post#19 accordingly.
To answer your question, in the Resize part of the code change 3 to 4 twice.