fine-tuned the interface to let the file browser get larger with resized window