Changed variable names (PAGENUMBER --> pageNumber)

PAGENUMBER was changed to pageNumber since it is not a class constant
and therefore shouldn't be in capitals.