Dynamic border width