Fix input not resizing on map resize (Issue #24)

Fixing resize on map resize was easy but I couldn't find a simple way to automatically resize the input box **based on pixel width** that did a better job than what is already in place.