added smooth shadow for layer for anti aliasing