bug fix

seems as though the check for if nav buttons have been clicked wasn't targeting the correct element.