Select first entry when folder change

This thread has a couple of solutions: Auto selecting '..' root folder on entry?