fixing resizer
Merge pull request #42 from MichalPaszkiewicz/master

fixing resizer