correct line resize
orientation methods