updated navigation bar to only allow non-active pages