bottom border resize and positioning