account for box-sizing: border-box