The reason for the padding is that when pressing alt-pgdn once, page 2 appears exactly where page 1 appears when scrolled to the top. 

Which constant in the code defines the distance between the top of the client and the top border of page 1?