There are two ways I can think of to do this. The first is to type command-[up arrow] (or choose "Enclosing folder" from the Go menu), which will take you up one directory. The second is to command-click on the window title, and then to choose a folder from the menu that appears.