define showing previous or next page as a method
rename PAGE => PAGES