navigation window index code updated