add border for buttons and images