Adding correct data attribute to navbars