switch nav elements