Added maxWidth option

Fixes issue #33