don't allow resize less than 10px
Merge pull request #6 from 0xor1/Dev

don't allow resize less than 10px