making nav element variable