Changed pad size to be equal count of lines in file, fixed bug in
scrolling