move to previous and next page when press key