using media queries to limit input width

Just for discussion, the 500px value was chosen mostly at random,
so give others a try.

see issue #131 for more discussion on this.