removes border when changing card