fixing box resize (forbiding <0)
Merge branch 'dev' of https://github.com/nicolashincker/i-score into dev