change the opactiy of nav