added border width and color to layer backed view