added better dir history navigation