dynamic border width