[Navigation Bar] Fixed problem with page indexes