save nav preferences in cookies