refactor width of id border