Added some logic behind disabled navigation links.