Remove hardcoded height - 2 and use linesPerPage()