update opacity of dropdown menu