get console size, print top-bottom borders