process page params
first, last buttons