adjust path input field size to contents