correct calculations for DRAW_GRADIENT_BACKGROUND
don't scroll down when hitting PgUp in book mode on first page