I don't think the client has a provision for this. But you can mod the ContainerWindow.lua or (probably) write command script macros to do what you want to do if you don't want to change the lua.
I didn't like the default behavior either, so I changed the lua so that the containers open up slightly to the right of the cursor position. That way I can onthefly choose where the containers will open.