Added attribute for navbar elements to navigate in the slider, just in home page