Add confg vaue to adjust the amount of lines shown per page

Added config value for number of lines shown per page.