For a simpler worflow than "j" one can use pushd/popd which are builtin in bash. One can push and pop directories one a stack. It's pretty neat!
$ cd foo1
$ pushd ~/foo2
[do some work]
$ pushd ~/foo3
[do some work]
$ popd
$ pwd
~/foo2
$ popd
$ pwd
~/foo1