adding fit to window key "f"