Add custom cd, back, and flip for directory navigation