fix panel directory navigation