automatic resizing of filter input field works in firefox