updating opacity of nav