set border and overflow in the css, not in the js