switch border with shadow