changed navbar buttons depending on path