format resizer code a bit and remove unnecessary section
Merge pull request #20 from richardwestenra/july3

format resizer code a bit and remove unnecessary section