fix behavior when max-width is not defined (#29, #18)
Merge pull request #36 from dancek/val-none-fix

fix behavior when max-width is not defined (replaces #18, fixes #29)