Support max-width for popup instance

Patch of pull request #29 cannot be merged now. I fix it for
current popup.el.

CC: @toumorokoshi