setting layer transparency