changed border layout